<head>
   <SCRIPT type='text/javascript' src='../../config/domain.js'></SCRIPT><!-- DOMAIN -->
   <SCRIPT TYPE="text/javascript" SRC="../../drDesktop/js/DrDesktop_TimeDate.js"></SCRIPT>
   <SCRIPT TYPE="text/javascript" SRC="../../drDesktop/js/DrDesktop_resources.js"></SCRIPT>    
   <SCRIPT TYPE="text/javascript" SRC="../../drDesktop/js/DrDesktop_ventanas.js"></SCRIPT>
   <SCRIPT TYPE="text/javascript" SRC="../../drDesktop/js/jquery.js"></SCRIPT>
	
	<script>
		function drActualizaReloj()	{
	   	var fecha=drTimeDate.getDate({separator:" ", txtMonth:true, showYear:false, language:ISOLanguageCode})
	   	var hora=drTimeDate.getTime()
	      $("#virtualTimeDate").html(fecha+" "+hora)
		}

      $(elOnload)

	   function elOnload()  {
	   	window.ISOLanguageCode=drResources.get({bundle:"core",key:"ISOLanguageCode"})
	   	ISOLanguageCode=ISOLanguageCode!=null?ISOLanguageCode:"en"	   
         navigatorFix()
	   	drActualizaReloj()
		   window.setInterval(drActualizaReloj, 60000);
         //$("#btn0").bind("click",function(){cambiaVirtualDesktop(0)})
         //$("#btn1").bind("click",function(){cambiaVirtualDesktop(1)})
         //$("#btn2").bind("click",function(){cambiaVirtualDesktop(2)})
         onDesktopResize();
         drWindow.bindDesktopResize({handlerName:"onDesktopResize"})
	   }

      function navigatorFix(){
         if (!$.browser.version.mozilla && $.browser.version=="6.0")
            $("#shadow").hide();
      }

      function onDesktopResize()  {
         drWindow.setWidth({"width":(drWindow.getClientWidth())})
      }
		
      /*
      function cambiaVirtualDesktop(vd)   {
         $("#btn0").removeClass("btnS").addClass("btnN")
         $("#btn1").removeClass("btnS").addClass("btnN")
         $("#btn2").removeClass("btnS").addClass("btnN")
         $("#btn"+vd).removeClass("btnN").addClass("btnS")
         drWindow.changeVirtualDesktop({"virtualDesktop":vd})
      }*/

	</script>

   <style>
	   body{background-color:transparent; margin:0px; padding:0px}
	   /*body{background-color:#0f8de4}*/

      #globalHeadContainer{
         height: 23px;
         width:100%;
         background-image: url(img/cabecera12.gif);
         background-repeat:  repeat-x;
         height: 23px;
         position: absolute;
         left: 0px;
         top: 0px;
      }
      #head11{
         background-image: url(img/cabecera11.gif);
         height: 23px;
         width: 24px;
      }
      #head13{
         background-image: url(img/cabecera13.gif);
         height: 23px;
         width: 5px;
         position: absolute;
         right: 0px;
         top:0px; 
      }
      #virtualTimeDate {
         right:23px;
         top:2px;
         position:absolute;
         font-family:Verdana, Arial, Helvetica, sans-serif;
         font-size:14px;
         height:17px;
         color:#000;
         font-weight: normal;
      }

      /*
		#virtualDesktopBtnGroup{
         position: absolute;
         top: 2px;
         right: 146px;
         background-image: url(img/icoVirtualDesktop.gif);
         height: 17px;
         padding-left:34px;
         background-repeat: no-repeat;
         font-family:Verdana, Arial, Helvetica, sans-serif;
         font-size:14px;
		}

      .btnN{margin-left:2px; float:left;width:12px; height:17px; color:#9e9e9e; cursor:pointer}
      .btnS{margin-left:2px; float:left;width:12px; height:17px; color:#000;}
      */

      #shadow{position:absolute; left:0px; top:21px; width:100%; height:5px; line-height:1px; }

	</style>

</head>

<body>
   <!--
   <DIV id="btn0" class="btnS">1</DIV><DIV id="btn1" class="btnN">2</DIV><DIV id="btn2" class="btnN">3</DIV><DIV class="clock" id="drDesktopClock"></DIV>
   -->
   <DIV id="globalHeadContainer">
      <DIV id="head11"></DIV>
      <DIV id="head13"></DIV>
   </DIV>
   <!--
   <DIV id="virtualDesktopBtnGroup">
      <DIV id="virtualDesktopBtnGroupIcon"></DIV>
      <DIV id="btn0" class="btnS">1</DIV><DIV id="btn1" class="btnN">2</DIV><DIV id="btn2" class="btnN">3</DIV>
   </DIV>
   -->
   <DIV id="virtualTimeDate"></DIV>
   <IMG id="shadow" src="img/shadow.png">
</body>